package org.example.entity;

public class Student extends BaseEntity{
    // status
    private int coins;
//    private int SurplusCoins;
    private int rewardCount;
    private int feedCount;
    static final int DEFAULT_COINS = 30;

    public Student(String name) {
        this.coins = DEFAULT_COINS;
        this.name = name;
    }

    public int get_rewardCount() {
        return rewardCount;
    }

    public void set_rewardCount(int rewardCount) {
        this.rewardCount = rewardCount;
    }


    public int get_coins() {
        return coins;
    }

    public void set_coins(int coins) {
        this.coins = coins;
    }

    public int get_feedCount() {
        return feedCount;
    }

    public void set_feedCount(int _feedCount) {
        this.feedCount = _feedCount;
    }

    @Override
    public String toString() {
        return "Student{" +
                "coins=" + coins +
//                ", _surplusCoins=" + _surplusCoins +
                ", rewardCount=" + rewardCount +
                ", feedCount=" + feedCount +
                ", name='" + name + '\'' +
                '}';
    }
}
